<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <button id="button">代理访问</button>
  <button id="button_source">源数据访问</button>
  <script src="dist/proxy/index.js"></script>
  <script>
    var source = new Thanos.DataProxy();
    var realSource = new Thanos.RealData();
    var oBtn = document.getElementById('button');
    var oSourceBtn = document.getElementById('button_source');
    oBtn.onclick = function() {
      console.log(source.get())
    }
    oSourceBtn.onclick = function() {
      console.log(realSource.get());
    }
  </script>
</body>
</html>